import zxing
reader = zxing.BarCodeReader()
barcode = reader.decode("test/barcodes/QR_CODE-easy.png")
print(barcode)